package cn.glc.daily.life.infrastructure.repository.mysql;

import cn.glc.daily.life.infrastructure.dao.UserAuthsDao;
import cn.glc.daily.life.infrastructure.po.UserAuthsPo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Repository;

/**
 * 用户登录授权
 *
 * @author simon
 * @date 2020/9/27 16:04
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
@Repository
public class UserAuthsRepository extends ServiceImpl<UserAuthsDao, UserAuthsPo> implements IService<UserAuthsPo> {
    public UserAuthsPo findByIdentifyAndType(String identify, String type) {
        return this.baseMapper.findByIdentifyAndType(identify, type);
    }
}
